---
title: algo.LeastWorkLoadBalancer.set()
api: algo.LeastWorkLoadBalancer.set
---

## Description

<Summary/>

## Syntax

``` js
balancer.set(target, weight)
```

## Parameters

<Parameters/>

## See Also

* [algo.LeastWorkLoadBalancer](/reference/api/algo/LeastWorkLoadBalancer)
